package com.zxy.ziems.collector.httpClient;

import com.github.lianjiatech.retrofit.spring.boot.core.RetrofitClient;
import com.zxy.ziems.common.pojo.collector.Config;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author 10348359
 * @create 2024-04-22 21:47
 */
@RetrofitClient(baseUrl = "${ziems.server.baseUrl}")
public interface CollectorRequest {

    @GET("/ziems/api/main/data/collector/config")
    Result<Config> getConfig(@Query("code") String code);
}
